<?php
/**
 * <https://y.st./>
 * Copyright © 2019 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'The term begins',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2019/01/30.jpg" alt="False cedars" class="framed-centred-image" width="649" height="480"/>
<section id="religion">
	<h2>Religion</h2>
	<p>
		I have no idea why I thought the missionaries were dropping by this morning.
		They&apos;re scheduled to come by <strong>*tomorrow*</strong> morning.
	</p>
	<p>
		Today&apos;s chapters of the Book of Mormon were rather unnoteworthy.
		A prophetic dream was had, but symbolism was used to obscure the message.
		A miracle was also performed, in which Yahweh loosened the ropes of someone bound, allowing them to escape slaughter.
		I mean, if we saw that happening, that&apos;d be something to talk about; I&apos;m not saying it was by any means unimpressive.
		It just doesn&apos;t show us anything noteworthy about the Mormon version of Yahweh, which is the main thing I discuss while reading.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		Wow.
		The university has royally screwed up their website this term.
		The bug that eats your coursework if JavaScript is enabled still hasn&apos;t been corrected.
		This bug has been present since I first enrolled at this school, two years ago.
		However, now, they&apos;ve made it so you can&apos;t access the links to your courses if JavaScript is disabled.
		So you have to enable JavaScript, go to your courses, then disable JavaScript again.
		I swear, these people are completely incompetent.
		I always book mark the individual classrooms, so I&apos;ve only got to go through this idiotic procedure once myself, but it&apos;s still rather annoying.
	</p>
	<p>
		Additionally, though class starts today, the classrooms weren&apos;t available when I first tried to check in.
		Normally, the classrooms are available right away, but the coursework is hidden until five minutes after the term was supposed to start.
		So this had to be done multiple times until the classrooms became available.
		I usually set up the links early in the day even though class starts at 21:05 or 22:05, as I take that opportunity to look at the list of courses I&apos;m taking and use it to set up the coursework directories on my website for that term.
	</p>
	<p>
		My discussion post for the day:
	</p>
	<blockquote>
		<p>
			&quot;Web 2.0&quot; is pretty much just a buzzword.
			There was never any big upgrade between Web versions by any means.
			The Web is just whatever you want to send over $a[HTTP], so the only real upgrade in the Web&apos;s version was from $a[HTTP] 1.0 to $a[HTTP] 1.1.
		</p>
		<p>
			Most people use the term &quot;Web 2.0&quot; to denote a style of Web development that involves social interaction (Cormode &amp; Krishnamurthy, 2008).
			These Websites often abuse JavaScript to do what can be better done without JavaScript, and make no consideration for users that have JavaScript disabled.
			In other words, these websites aren&apos;t accessible to users of all technology types, such as screen readers, used by Blind users.
			A great example of this attitude and behaviour is this university&apos;s own website.
			Each term, this website becomes increasingly difficult to navigate and use with JavaScript disabled.
			(I have to disable JavaScript on this website due to a bug in the site&apos;s JavaScript that eats my coursework before I can submit it; I&apos;ve talked to support about it, and they have no intention to fix said bug, so disabling JavaScript is the only way I can keep my coursework intact.
			It sad, but the school website is the only website I actually have JavaScript disabled for.
			I have it enabled everywhere else, due to the high number of poorly-programmed websites out there that use JavaScript as a crutch.)
			That said, not all Web 2.0 websites are as poorly built as most, and some do take accessibility into consideration.
		</p>
		<p>
			You could day Web 2.0 is mainly made possible by scripting, both server-side and client-side.
			$a[PHP] and JavaScript, for example, are used heavily.
			$a[XML] is also frequently a component used, via $a[AJAX].
			Often, databases of various types are used, often via some flavour of $a[SQL].
			MySQL seems to be a popular option these days due to its open source nature.
			And finally, Web 2.0 obviously wouldn&apos;t be possible without the various technologies that make the Web in general possible, such as $a[HTTP] and $a[XHTML] (or $a[HTML]).
			$a[CSS] is used heavily as well in both Web 1.0 and Web 2.0, though you could consider it to be non-vital to both.
		</p>
		<p>
			Personally, I think Web 2.0 is important to business for two reasons.
			First and foremost, higher-ups making decisions in companies don&apos;t have enough technical know-how to even consider accessibility concerns.
			So they don&apos;t.
			They just see something flashy and run with it, asking the devs to cook up something similar for their own company.
			Second, users are overly-concerned with social media these days.
			Integrating social media into everything, including things social media doesn&apos;t provide any value whatsoever to, draws in a certain type of crowd that otherwise couldn&apos;t be easily monetised.
		</p>
		<h3>&quot;Web 1.0&quot;</h3>
		<p>
			&quot;Web 1.0&quot; websites tend to display most if not all these characteristics:
		</p>
		<ul>
			<li>
				An intrinsically hierarchal $a[URI] structure for pages
			</li>
			<li>
				Often unidirectional page links
			</li>
			<li>
				Pages easily crawlable by search spiders
			</li>
			<li>
				Update intervals, at which new content is added and/or old content removed
			</li>
			<li>
				Most pages are written by one user or a small group.
			</li>
			<li>
				Basic, flat, accessible pages with mostly-unchanging content
			</li>
			<li>
				No social media integration
			</li>
			<li>
				Little to no JavaScript abuse
			</li>
			<li>
				The same content is shown to everyone
			</li>
			<li>
				All pages can be bookmarked
			</li>
		</ul>
		<h3>&quot;Web 2.0&quot;</h3>
		<p>
			&quot;Web 2.0&quot; websites tend to display several of these characteristics:
		</p>
		<ul>
			<li>
				User profiles
			</li>
			<li>
				User content (posts, photos, et cetera)
			</li>
			<li>
				Social media integration
			</li>
			<li>
				heavy use of $a[AJAX] (or even just JavaScript in general)
			</li>
			<li>
				$a[API]s to for third-party sites to use to integrate
			</li>
			<li>
				Pages that update without reloading the entire page (for example, as new content comes in)
			</li>
			<li>
				Pages that can&apos;t be bookmarked because they&apos;re actually just modified (via $a[AJAX] or the like) version of other pages, and thus share a $a[URI] with the main version of the page (you must go to the main version of the page, then click some link on that page to get to the unbookmarkable page)
			</li>
			<li>
				Bi-directional linking of pages
			</li>
			<li>
				Different content for visible to different users (If you log in, you see different page content than someone else does when they log in)
			</li>
			<li>
				A near-constant stream of micro-updates made to pages
			</li>
			<li>
				Many users contribute to a single page
			</li>
		</ul>
		<p>
			The reading assignment also mentions that flash objects can be embedded to avoid the need for additional plugins, but for those objects to run, Flash itself must be installed.
			Flash itself is, of course, and additional plugin.
			Not everyone has it installed, wants it installed, or can have it installed.
			Thankfully, the number of sites depending on Flash is diminishing.
			I&apos;m pretty sure there are still $a[DRM]-laden video-streaming websites and a few Flash game websites still using it, but most other websites seem to have migrated away from it.
		</p>
		<div class="APA_references">
			<h3>References:</h3>
			<p>
				Cormode, G., &amp; Krishnamurthy, B. (2008, February 13). Key Differences between Web1.0 and Web2.0. Retrieved from <a href="https://my.uopeople.edu/pluginfile.php/388450/mod_book/chapter/178824/Web1V2Diffs.pdf"><code>https://my.uopeople.edu/pluginfile.php/388450/mod_book/chapter/178824/Web1V2Diffs.pdf</code></a>
			</p>
		</div>
	</blockquote>
	<p>
		I forgot how lethargic the start of a new term at this school makes me.
		The dread of class keeps me from being at all productive all day, and I pretty much get nothing done until class starts at 21:05 or 22:05 (21:05, today).
		Then it&apos;s a mad scramble to get enough reading done to get a discussion post done in the less than two or three hours I&apos;ve got until midnight.
		I swear, that day of waiting for class to start always drains me far more than most days of school actually being in session do.
	</p>
	<p>
		Hopefully, I can be fairly productive tomorrow.
		Tomorrow might bet he only full day off work I have to get my coursework done, seeing as I&apos;ve requested next school week off from work.
		The school week and the work week aren&apos;t aligned, so the boss might tack an extra work day onto this school week, even though I&apos;ll have one less work day total that work week.
		That&apos;s assuming my request for time off is accepted though.
	</p>
</section>
END
);
